<?php

declare(strict_types=1);

namespace Zms\AdminElementPlus\FormCreate\FormItem;


class Hidden extends FormItemAbstract
{
    protected string $_type = 'hidden';

    /**
     * 获取值类型
     * @return string
     */
    public function valueType(): string
    {
        return self::VALUE_TYPE_STRING;
    }

    /**
     *
     * Input constructor.
     * @param string $field
     * @param $value
     */
    public function __construct(string $field, $value)
    {
        unset($this->_title);
        unset($this->_props);
        $this->_field = $field;
        $this->_value = $value;
    }
}